package ajaxjs.data.service.subObject;

import ajaxjs.data.entry.Entry;

public class Catalog extends SubObject{
	public static String name = "栏目";
	public static String id = "catalog";
	public Entry pojo = new ajaxjs.data.entry.subObject.Catalog();
//	public String create(){
//		return "";
//	}
	@Override
	public String getTableName() {
		return id;
	}
	
	@Override
	public String findList(){
		String where = "";
		
		try {
			where = "belongsTo = '" + getParentTableName() + "'";
		} catch (Exception e) {
			System.out.println(e);
		}
		System.out.println(where);
		return findList(where);
	}
	@Override
	public String getName() {
		return name;
	}
	@Override
	public String getId() {
		return id;
	}

	@Override
	public Entry getPojo() {
		return pojo;
	}
}
